using System;

namespace Module.Core.EntitiesInfo
{

	[Serializable]
	public class MemberInfo
	{
		#region Fields

		private int idMember;
		private string fullName;
		private string address;
		private string email;
		private string pass;
		private string phoneNumber;
		private int status;
		private string codeMember;
		private string codeMemberParent;
		private string codePosition;
		private DateTime createdOn;
		private int leve;
		private int checktype;
		private string leftRight;
		private int priceMount;
	    private float goldBonus;
		private DateTime dateBirth;
	    private string city;      
	    private string userName;
	    private bool isActive;
	    private string numberAcount;
        private string nameBank;
	    private string cmtnd;
	    private float promotional;

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the MemberInfoBase class.
		/// </summary>
		public MemberInfo()
		{
		}

		/// <summary>
		/// Initializes a new instance of the MemberInfoBase class.
		/// </summary>
        public MemberInfo(string fullName, string address, string email, string pass, string phoneNumber, int status, string codeMember, string codeMemberParent, string codePosition, DateTime createdOn, int leve, int checktype, string leftRight, int priceMount, DateTime dateBirth, string city, string numberAcount, string nameBank, float goldBonus, string cmtnd, float promotional)
		{
			this.fullName = fullName;
			this.address = address;
			this.email = email;
			this.pass = pass;
			this.phoneNumber = phoneNumber;
			this.status = status;
			this.codeMember = codeMember;
			this.codeMemberParent = codeMemberParent;
			this.codePosition = codePosition;
			this.createdOn = createdOn;
			this.leve = leve;
			this.checktype = checktype;
			this.leftRight = leftRight;
			this.priceMount = priceMount;
			this.dateBirth = dateBirth;
		    this.city = city;
		    this.numberAcount = numberAcount;
		    this.NameBank = nameBank;
		    this.GoldBonus = goldBonus;
		    this.cmtnd = cmtnd;
		    this.promotional = promotional;
		}

		/// <summary>
		/// Initializes a new instance of the MemberInfoBase class.
		/// </summary>
        //public MemberInfo(int idMember, string fullName, string address, string email, string pass, string phoneNumber, int status, string codeMember, string codeMemberParent, string codePosition, DateTime createdOn, int leve, int checktype, string leftRight, int priceMount, DateTime dateBirth, string city, string numberAcount, string nameBank)
        //{
        //    this.idMember = idMember;
        //    this.fullName = fullName;
        //    this.address = address;
        //    this.email = email;
        //    this.pass = pass;
        //    this.phoneNumber = phoneNumber;
        //    this.status = status;
        //    this.codeMember = codeMember;
        //    this.codeMemberParent = codeMemberParent;
        //    this.codePosition = codePosition;
        //    this.createdOn = createdOn;
        //    this.leve = leve;
        //    this.checktype = checktype;
        //    this.leftRight = leftRight;
        //    this.priceMount = priceMount;
        //    this.dateBirth = dateBirth;
        //    this.city = city;
        //    this.numberAcount = numberAcount;
        //    this.nameBank = nameBank;
        //}

		#endregion      
        
        #region Properties
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }

        public string NumberAcount
        {
            get { return numberAcount; }
            set { numberAcount = value; }
        }
        public string NameBank
        {
            get { return nameBank; }
            set { nameBank = value; }
        }
        public string CMTND
        {
            get { return cmtnd; }
            set { cmtnd = value; }
        }


		/// <summary>
		/// Gets or sets the IdMember value.
		/// </summary>
		public int IdMember
		{
			get { return idMember; }
			set { idMember = value; }
		}

		/// <summary>
		/// Gets or sets the FullName value.
		/// </summary>
		public string FullName
		{
			get { return fullName; }
			set { fullName = value; }
		}

		/// <summary>
		/// Gets or sets the Address value.
		/// </summary>
		public string Address
		{
			get { return address; }
			set { address = value; }
		}

		/// <summary>
		/// Gets or sets the Email value.
		/// </summary>
		public string Email
		{
			get { return email; }
			set { email = value; }
		}

		/// <summary>
		/// Gets or sets the Pass value.
		/// </summary>
		public string Pass
		{
			get { return pass; }
			set { pass = value; }
		}

		/// <summary>
		/// Gets or sets the PhoneNumber value.
		/// </summary>
		public string PhoneNumber
		{
			get { return phoneNumber; }
			set { phoneNumber = value; }
		}

		/// <summary>
		/// Gets or sets the Status value.
		/// </summary>
		public int Status
		{
			get { return status; }
			set { status = value; }
		}

		/// <summary>
		/// Gets or sets the CodeMember value.
		/// </summary>
		public string CodeMember
		{
			get { return codeMember; }
			set { codeMember = value; }
		}

		/// <summary>
		/// Gets or sets the CodeMemberParent value.
		/// </summary>
		public string CodeMemberParent
		{
			get { return codeMemberParent; }
			set { codeMemberParent = value; }
		}

		/// <summary>
		/// Gets or sets the CodePosition value.
		/// </summary>
		public string CodePosition
		{
			get { return codePosition; }
			set { codePosition = value; }
		}

		/// <summary>
		/// Gets or sets the CreatedOn value.
		/// </summary>
		public DateTime CreatedOn
		{
			get { return createdOn; }
			set { createdOn = value; }
		}

		/// <summary>
		/// Gets or sets the Leve value.
		/// </summary>
		public int Leve
		{
			get { return leve; }
			set { leve = value; }
		}

		/// <summary>
		/// Gets or sets the Checktype value.
		/// </summary>
		public int Checktype
		{
			get { return checktype; }
			set { checktype = value; }
		}

		/// <summary>
		/// Gets or sets the LeftRight value.
		/// </summary>
		public string LeftRight
		{
			get { return leftRight; }
			set { leftRight = value; }
		}

		/// <summary>
		/// Gets or sets the PriceMount value.
		/// </summary>
		public int PriceMount
		{
			get { return priceMount; }
			set { priceMount = value; }
		}
        public float GoldBonus
        {
            get { return goldBonus; }
            set { goldBonus = value; }
        }
		/// <summary>
		/// Gets or sets the DateBirth value.
		/// </summary>
		public DateTime DateBirth
		{
			get { return dateBirth; }
			set { dateBirth = value; }
		}
        /// <summary>
        /// Gets or sets the city value.
        /// </summary>
        public string City
        {
            get { return city; }
            set { city = value; }
        }
        public float Promotional
        {
            get { return promotional; }
            set { promotional = value; }
        }
		#endregion
	}
}
